// prodetail模块请求封装
const http = uni.$u.http;

// 获取详情数据
export const getProDetail = goodsId => {
	return http.get('/index.php?s=/api/goods/detail', {
		params: {
			goodsId
		}
	})
}

// 获取详情评论
export const getProComments = data => {
	return http.get('/index.php?s=/api/comment/listRows', {
		params: {
			...data
		}
	})
}
